From: Daniel van Vugt Date: Wed, 9 Jun 2021 06:09:51 +0000 (+0800) Subject: lookingGlass: Paint the RedBorderEffect right edge the correct height X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~263 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d8802aafc43387974b0e0e22f765468776d8f40f;p=gnome-shell.git lookingGlass: Paint the RedBorderEffect right edge the correct height It was being painted one box thickness (`width`) too tall so you could see a rendering glitch below the bottom right corner until now. Part-of: --- diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index e59fa2930..7604ae4a6 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -513,7 +513,7 @@ class RedBorderEffect extends Clutter.Effect { pipelineNode.add_rectangle(box); box.set_origin(alloc.get_width() - width, width); - box.set_size(width, alloc.get_height()); + box.set_size(width, alloc.get_height() - width); pipelineNode.add_rectangle(box); box.set_origin(0, alloc.get_height() - width);